import Vue from 'vue';
import Vuex from 'vuex';

import song from './song';
import user from './user';

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    openLogin: false
  },
  getters: {
  },
  mutations: {
    changeOpenLogin(state, payLoad) {
      state.openLogin = payLoad;
    }
  },
  actions: {
  },
  modules: {
    user,
    song,
  }
})
